package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 监测记录
 * </p>
 *
 * @author quin.song
 * @since 2024-05-21
 */
@Data
@Accessors(chain = true)
@TableName("monitor_record")
@ApiModel(value = "MonitorRecord对象", description = "监测记录")
public class MonitorRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer taskId;

    private Integer monitorId;

    private Long teachingClassId;

    private String teachingClassName;

    @ApiModelProperty("1、最大连上节次；2、课程最大周学时数；3、课程最大任课教师数；4、课程最大助教教师数；5、每周教师最大上课节次；6、教学班最低上课人数")
    private Integer type;

    @ApiModelProperty("监测阈值")
    private Integer monitorThreshold;

    private String monitorValue;

    @TableField(exist = false)
    @ApiModelProperty("教师名称")
    private String teacherName;
}
